-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for mssql-jdbc.properties
location logic
#2579
base: main
Are you sure you want to change the base?
Conversation
…utOfBoundsExcelption
src/main/java/com/microsoft/sqlserver/jdbc/ConfigurableRetryLogic.java
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2579 +/- ##
============================================
+ Coverage 51.22% 51.36% +0.13%
- Complexity 3953 3972 +19
============================================
Files 147 147
Lines 33657 33666 +9
Branches 5624 5627 +3
============================================
+ Hits 17241 17291 +50
+ Misses 13999 13940 -59
- Partials 2417 2435 +18 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again, by re-requesting a review.
mssql-jdbc.properties
location logicmssql-jdbc.properties
location logic
The logic for finding the
mssql-jdbc.properties
file, used in Configurable Retry Logic was correct for test environments, and when building the driver manually, but not correct when using the driver as a jar or dependency. This fixes that issue by only removing thetarget/classes
suffix if needed.